//
//  DataEnvironment.h
//  Mooker
//
//  Created by Kevin Huang on 9/15/10.
//  Copyright 2010 iTotem. All rights reserved.
//
#import "MKNavigationController.h"

@class RootViewController;
@class MainViewController;
@interface DataEnvironment : NSObject {

}

+ (DataEnvironment *)sharedDataEnvironment;

@property(nonatomic,retain) RootViewController *rootViewController;
@property(nonatomic,retain) MainViewController *mainViewController;
@property(nonatomic,retain) MKNavigationController *navController;
@property(nonatomic,retain) MKNavigationController *collectionNav;
@property(nonatomic,assign) NSInteger numOfDetailView;

@property(nonatomic,assign) BOOL  showFingerAd;
@property(nonatomic,assign) BOOL  showFingerAdInDetailView;
@property(nonatomic,assign) BOOL  isMainViewPresentingController;


- (void)initData;

- (void)pushViewController:(UIViewController *)viewController withAnimate:(BOOL)animate;
- (void)pushView:(UIView *)view withAnimate:(BOOL)animate;
- (void)popViewControllerWithAnimate:(BOOL)animate;

- (UIViewController *)presentingController;
@end


